<?php

class Error extends Controller{

    function __construct() {
        parent::__construct();
    }
    
    public function index() {     
        $this->view->render('desktop/error/index',1);
    }
    
    public function controller_not_found($ControllerFilename = '') {
        $this->view->msg = "Controller '$ControllerFilename' was not found";
        $this->view->render('desktop/error/index',1);
    }
    
    public function function_not_found($FunctionName = '') {
        $this->view->msg = "Function '$FunctionName' was not found";
        $this->view->render('desktop/error/index',1);
    }
}